package com.groupbuying.sysconfig.controller;

import com.groupbuying.sysconfig.service.ConfigBusinessService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 参数配置信息表
 * 
 * @author WANGNING
 * @email wyn20140226@aliyun.com
 * @date 2019-06-04 02:51:47
 */
 
@RestController
@RequestMapping("/businessPram")
public class BusinessController {
	@Autowired
	private ConfigBusinessService configBusinessService;
	/**
	 * 获取银盛环境配置参数
	 * TEST - 测试
	 * PRE - 预发布
	 * DEV - 开发
	 * WWW - 正式
	 * */
	@GetMapping("/ys")
	public String getYSBusiness(){
		return configBusinessService.getYSBusinessPram();
	}

}
